package com.atguigu.spzx.model.dto.product;

import com.atguigu.spzx.model.entity.product.Product;
import com.atguigu.spzx.model.entity.product.ProductSku;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
@Schema(description = "商品新增数据模型")
public class ProductSaveDto extends Product {
    private List<ProductSku> productSkuList;
    private String detailsImageUrls;

    //扩展属性： 审批时需要展示spu的分类名称和品牌名称
    private String brandName;
    private String category1Name;
    private String category2Name;
    private String category3Name;
}
